<template>
  <div id="app">
     <!--  缓存组件跳转的页面 -->
    <keep-alive>
      <router-view
        v-if="$route.meta.keepAlive"
        class="ui-view"
        transition-mode="out-in"
      ></router-view>
    </keep-alive>
    <!-- 非缓存组件跳转页面 -->
    <router-view
      v-if="!$route.meta.keepAlive"
      class="ui-view"
      transition-mode="out-in"
    ></router-view>
    <!-- <Yejiao></Yejiao> -->
  </div>
</template>
<script>
// import Yejiao  from '../src/components/Yejiao'
export default {
  // components:{
  //   Yejiao
  // }
}
</script>
<style lang="less">
// @import  '../src/assets/fonts/iconfont';

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // text-align: center;
  // color: #2c3e50;
}

#nav {
  // padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
